package com.demo.service;

import com.demo.domain.TtDetails;
import com.demo.mapper.TtDetailsDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * (TtDetails)表服务实现类
 *
 * @author makejava
 * @since 2021-07-07 15:51:16
 */
@Service
public class TtDetailsService{
    @Resource
    private TtDetailsDao ttDetailsDao;

    /**
     * 通过ID查询单条数据
     *
     * @return 实例对象
     */
    public List<TtDetails> queryById() {
        return ttDetailsDao.queryById();
    }
}

